package br.com.lh.urabuilder.event.dispatcher
{
	import com.adobe.cairngorm.control.CairngormEvent;
	import com.adobe.cairngorm.control.CairngormEventDispatcher;
	
	import flash.events.IEventDispatcher;

	public class CairngormEventDispatcher2 extends CairngormEventDispatcher implements IEventDispatcher2
	{
		private static var instance : CairngormEventDispatcher2;
		
		public function CairngormEventDispatcher2(target:IEventDispatcher=null)
		{
			super(target);
		}
		
		public override function dispatchEvent(event:CairngormEvent):Boolean{
			return super.dispatchEvent(event);
		}
		
		public static function getInstance():CairngormEventDispatcher2{
			if ( instance == null ){
            instance = new CairngormEventDispatcher2();
    		}
           return instance;
		}
		
	}
}